package com.czr.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
@ApiModel(description = "绑定微信")
public class WxParam {

    @ApiModelProperty(value = "用户账号")
    @NotEmpty(message = "用户账号不能为空！")
    private String username;

    @ApiModelProperty(value = "密码")
    @NotEmpty(message = "密码不能为空！")
    private String password;
    @ApiModelProperty(value = "微信唯一标识（h5、pc注册不用传，公众号注册需要传）")
    @TableField("openId")
    private String openId;

}
